#include"comLib\utils.h"
extern "C"
{
#include <libswscale/swscale.h>
};

CScale::CScale(int srcW, int srcH, enum AVPixelFormat srcFormat,
	int dstW, int dstH, enum AVPixelFormat dstFormat)
{
	m_pSwsContext = sws_getContext(srcW, srcH, srcFormat,
		dstW, dstH, dstFormat,
		SWS_BILINEAR, NULL, NULL, NULL);
}